package cn.gzjp.modules.gas.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.gas.entity.GasRechargeGive;
import cn.gzjp.modules.gas.dao.GasRechargeGiveDao;

/**
 * 充值赠送Service
 * @author zengcp
 * @version 2018-03-15
 */
@Service
@Transactional(readOnly = true)
public class GasRechargeGiveService extends CrudService<GasRechargeGiveDao, GasRechargeGive> {

	public GasRechargeGive get(String id) {
		return super.get(id);
	}
	
	public List<GasRechargeGive> findList(GasRechargeGive gasRechargeGive) {
		return super.findList(gasRechargeGive);
	}
	
	public Page<GasRechargeGive> findPage(Page<GasRechargeGive> page, GasRechargeGive gasRechargeGive) {
		return super.findPage(page, gasRechargeGive);
	}
	
	@Transactional(readOnly = false)
	public void save(GasRechargeGive gasRechargeGive) {
		super.save(gasRechargeGive);
	}
	
	@Transactional(readOnly = false)
	public void delete(GasRechargeGive gasRechargeGive) {
		super.deleteByLogic(gasRechargeGive);
	}
	
}